package com.zisu.springcloud.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.zisu.springcloud.entity.CommonResult;

/**
 * @Desc: ""
 * @Author: caixiang
 * @DATE: 2020/10/3 9:32
 */
public class CustomerBlockHandler {
    public static CommonResult handleException(BlockException exception) {
        return new CommonResult(4444, "自定义限流处理信息....CustomerBlockHandler      1");
    }
    public static CommonResult handleException2(BlockException exception) {
        return new CommonResult(4444, "自定义限流处理信息....CustomerBlockHandler      2");
    }
}
